<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
  <style>
    * {
        margin: 0;
        padding: 0;
    }
    li {
        list-style: none;
    }
    .row {
        margin-bottom: 0;
    }
    .container {
        background-color: #eee;
    }
    .col-sm-12 {
        text-align: center;
        padding: 10px;
        font-size: 30px;
    }
    li:hover {
        background-color: #fff;
    }
  </style>
</head>
<body>
  <div class="container">
    <ul class="row">
      <li class="col-md-3 col-sm-12">首页</li>
      <li class="col-md-3 col-sm-12">新闻资讯</li>
      <li class="col-md-3 col-sm-12">关于我们</li>
      <li class="col-md-3 col-sm-12">客户服务</li>
    </ul>
  </div>
</body>
</html>
